package com.example.service;

import com.example.common.result.Result;
import com.example.entity.hz.Messageconfiguration;
import com.example.entity.hz.Messagetype;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
* @author 14501
* @description 针对表【messageType】的数据库操作Service
* @createDate 2024-09-06 09:03:07
*/
public interface MessagetypeService extends IService<Messagetype> {

    Result insertMessageType(List<Messagetype> messagetypeList);

    Result<Map<String, Messagetype>> queryMessageTypePage(Integer current,Integer size);

    Result deleteMessageType(List<Integer> uuidList);

    Result<List<Messageconfiguration>> queryMessageConfigurationList(Integer uuid);

    Result<List<Messagetype>> queryMessageTypeList();

    Result<Messagetype> queryOneMessageType(Integer uuid);

    Result updateMessageType(Messagetype messagetype);
}
